
import api from '../../tool/requestModel.js'
const app = getApp()
Page({
	data: {
		list: [],
        user:{
            avatarUrl:tt.getStorageSync('userImg'),
            realName:tt.getStorageSync('userName')
        },
        height:""
	},
	onLoad: function() {
        let lineHeight = app.globalData.customNavBarHeight+app.globalData.statusBarHeight
            let height = app.globalData.customNavBarHeight
            this.setData({
                height:height+'px'
            })
            this.setData({
                lineHeight:lineHeight+'px'
            })
            this.setData({
                til:"我的" 
            })
		// this.user.avatarUrl = tt.getStorageSync('userImg')
	},
    yijian:function(){
        tt.navigateTo({
            url:"../complaint/complaint"
        })
    },
    kefu:function(){ 
        let that = this
        api.service_qrcode({
		}).then(res => {
            console.log(res)
		})
    },
    history:function(){ 
        tt.navigateTo({
            url:"../history/history"
        })
    },
	order: function() {
	},
})
